package com.mayuanfei.springboot02.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 测试controller
 *
 * @author 老马
 * @date 2023-04-07 13:26
 */
@RestController
public class MyController {

    @GetMapping("/hello")
    public String sayHello(String msg) {
        return "你好 " + msg;
    }
}